package com.silverbox.waimai.mapper;

import com.silverbox.waimai.entity.TakeOutPeriod;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TakeOutPeriodMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TakeOutPeriod record);

    int insertSelective(TakeOutPeriod record);

    TakeOutPeriod selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TakeOutPeriod record);

    int updateByPrimaryKey(TakeOutPeriod record);

    List<Map<String, Object>> findShopPeriod(@Param("storeId") Integer storeId);
}